package com.powernode.domain;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

/**
*内容: 
*作者: cy
*/   
    
   
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Bills implements Serializable {
    /**
    * 自动增长
    */
    private Integer id;

    private String title;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date billTime;
    /**
     * 类型名字
     */
    private String name;
    /**
    * 引用bill_type表主键
    */
    private Integer typeId;

    private Integer price;

    private String remark;

    private static final long serialVersionUID = 1L;
}